package org.springblade.modules.system.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 2025-09 密码更新DTO
 * @author: Sharry
 * @createTime: 2025-09-09 13:53
 * @version: Version-1.0
 */
@Data
public class PasswordUpdateDTO {

	/**
	 * 旧密码
	 */
	@ApiModelProperty(value = "旧密码")
	@NotBlank(message = "旧密码不能为空")
	private String oldPassword;

	/**
	 * 新密码
	 */
	@ApiModelProperty(value = "新密码")
	@NotBlank(message = "新密码不能为空")
	private String newPassword;

}
